<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Irrlicht 3D Engine: irr::scene::SViewFrustum Struct Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  <td id="projectlogo"><img alt="Logo" src="irrlichtlogo.png"/></td>
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Irrlicht 3D Engine
   
   </div>
   
  </td>
  
  
  
   
   <td>        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
</td>
   
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="dynsections.js"></script>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('structirr_1_1scene_1_1_s_view_frustum.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a>  </div>
  <div class="headertitle">
<div class="title">irr::scene::SViewFrustum Struct Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="irr::scene::SViewFrustum" -->
<p>Defines the view frustum. That's the space visible by the camera.  
 <a href="structirr_1_1scene_1_1_s_view_frustum.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="_s_view_frustum_8h_source.html">SViewFrustum.h</a>&gt;</code></p>

<p><a href="structirr_1_1scene_1_1_s_view_frustum-members.html">List of all members.</a></p>
<h2><a name="pub-types"></a>
Public Types</h2>
<ul>
<li>enum <a class="el" href="structirr_1_1scene_1_1_s_view_frustum.html#ae3a96797aec028717f0589e82926b9f0">VFPLANES</a> { <br/>
&#160;&#160;<a class="el" href="structirr_1_1scene_1_1_s_view_frustum.html#ae3a96797aec028717f0589e82926b9f0a33c11636c0cf3a29df16551fb3222f89">VF_FAR_PLANE</a> =  0, 
<a class="el" href="structirr_1_1scene_1_1_s_view_frustum.html#ae3a96797aec028717f0589e82926b9f0ad4e37002c2f3f5c9aa7219ca74ffb48e">VF_NEAR_PLANE</a>, 
<a class="el" href="structirr_1_1scene_1_1_s_view_frustum.html#ae3a96797aec028717f0589e82926b9f0a4d611f15cd215819287e533b45715d5c">VF_LEFT_PLANE</a>, 
<a class="el" href="structirr_1_1scene_1_1_s_view_frustum.html#ae3a96797aec028717f0589e82926b9f0acc02c8b170e35f1416f1511646b051aa">VF_RIGHT_PLANE</a>, 
<br/>
&#160;&#160;<a class="el" href="structirr_1_1scene_1_1_s_view_frustum.html#ae3a96797aec028717f0589e82926b9f0aa230be71193da774ddcb735ec7b10dd1">VF_BOTTOM_PLANE</a>, 
<a class="el" href="structirr_1_1scene_1_1_s_view_frustum.html#ae3a96797aec028717f0589e82926b9f0adc6f550cf3890b19837cd8f0d7b1020a">VF_TOP_PLANE</a>, 
<a class="el" href="structirr_1_1scene_1_1_s_view_frustum.html#ae3a96797aec028717f0589e82926b9f0a6c3c4cb8060a23a2365cf1df46fcefd7">VF_PLANE_COUNT</a>
<br/>
 }
</ul>
<h2><a name="pub-methods"></a>
Public Member Functions</h2>
<ul>
<li><a class="el" href="structirr_1_1scene_1_1_s_view_frustum.html#a7052e88c612bd1239115929e94e6210d">SViewFrustum</a> ()
<dl class="el"><dd class="mdescRight">Default Constructor.  <a href="#a7052e88c612bd1239115929e94e6210d"></a><br/></dl><li><a class="el" href="structirr_1_1scene_1_1_s_view_frustum.html#aa7cfed3ee9feee79efe02d26f3b14b0c">SViewFrustum</a> (const <a class="el" href="structirr_1_1scene_1_1_s_view_frustum.html">SViewFrustum</a> &amp;other)
<dl class="el"><dd class="mdescRight">Copy Constructor.  <a href="#aa7cfed3ee9feee79efe02d26f3b14b0c"></a><br/></dl><li><a class="el" href="structirr_1_1scene_1_1_s_view_frustum.html#acfcbb01f1e26f73ee1d9c7695302a508">SViewFrustum</a> (const <a class="el" href="namespaceirr_1_1core.html#a73fa92e638c5ca97efd72da307cc9b65">core::matrix4</a> &amp;mat)
<dl class="el"><dd class="mdescRight">This constructor creates a view frustum based on a projection and/or view matrix.  <a href="#acfcbb01f1e26f73ee1d9c7695302a508"></a><br/></dl><li>bool <a class="el" href="structirr_1_1scene_1_1_s_view_frustum.html#ace0b4c93dcd1d4e6ae50615b457f1851">clipLine</a> (<a class="el" href="classirr_1_1core_1_1line3d.html">core::line3d</a>&lt; <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> &gt; &amp;line) const 
<dl class="el"><dd class="mdescRight">clips a line to the view frustum.  <a href="#ace0b4c93dcd1d4e6ae50615b457f1851"></a><br/></dl><li>const <a class="el" href="classirr_1_1core_1_1aabbox3d.html">core::aabbox3d</a>&lt; <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> &gt; &amp; <a class="el" href="structirr_1_1scene_1_1_s_view_frustum.html#a4328fe06bedd409ae20e9efc64e68706">getBoundingBox</a> () const 
<dl class="el"><dd class="mdescRight">returns a bounding box enclosing the whole view frustum  <a href="#a4328fe06bedd409ae20e9efc64e68706"></a><br/></dl><li><a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> <a class="el" href="structirr_1_1scene_1_1_s_view_frustum.html#a9a79eb4430af41031850adc7a0e0e3cf">getFarLeftDown</a> () const 
<dl class="el"><dd class="mdescRight">returns the point which is on the far left bottom corner inside the the view frustum.  <a href="#a9a79eb4430af41031850adc7a0e0e3cf"></a><br/></dl><li><a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> <a class="el" href="structirr_1_1scene_1_1_s_view_frustum.html#a99712510130276f440e2c399dde7e5f3">getFarLeftUp</a> () const 
<dl class="el"><dd class="mdescRight">returns the point which is on the far left upper corner inside the the view frustum.  <a href="#a99712510130276f440e2c399dde7e5f3"></a><br/></dl><li><a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> <a class="el" href="structirr_1_1scene_1_1_s_view_frustum.html#add04c29bfa22d94be96c92ecff5420b9">getFarRightDown</a> () const 
<dl class="el"><dd class="mdescRight">returns the point which is on the far right bottom corner inside the the view frustum.  <a href="#add04c29bfa22d94be96c92ecff5420b9"></a><br/></dl><li><a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> <a class="el" href="structirr_1_1scene_1_1_s_view_frustum.html#a1b7f3b1cd4da4ea886b77d674e1c17dd">getFarRightUp</a> () const 
<dl class="el"><dd class="mdescRight">returns the point which is on the far right top corner inside the the view frustum.  <a href="#a1b7f3b1cd4da4ea886b77d674e1c17dd"></a><br/></dl><li><a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> <a class="el" href="structirr_1_1scene_1_1_s_view_frustum.html#addbe9237ea17c93ae60bc4c27e862a76">getNearLeftDown</a> () const 
<dl class="el"><dd class="mdescRight">returns the point which is on the near left bottom corner inside the the view frustum.  <a href="#addbe9237ea17c93ae60bc4c27e862a76"></a><br/></dl><li><a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> <a class="el" href="structirr_1_1scene_1_1_s_view_frustum.html#af240a13958215ce0cbe6ccd75301828a">getNearLeftUp</a> () const 
<dl class="el"><dd class="mdescRight">returns the point which is on the near left upper corner inside the the view frustum.  <a href="#af240a13958215ce0cbe6ccd75301828a"></a><br/></dl><li><a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> <a class="el" href="structirr_1_1scene_1_1_s_view_frustum.html#a74e011d85fb41206b5dd0af76635dc00">getNearRightDown</a> () const 
<dl class="el"><dd class="mdescRight">returns the point which is on the near right bottom corner inside the the view frustum.  <a href="#a74e011d85fb41206b5dd0af76635dc00"></a><br/></dl><li><a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> <a class="el" href="structirr_1_1scene_1_1_s_view_frustum.html#a4fe9e7b51a3f7f7235ef0f895bf32054">getNearRightUp</a> () const 
<dl class="el"><dd class="mdescRight">returns the point which is on the near right top corner inside the the view frustum.  <a href="#a4fe9e7b51a3f7f7235ef0f895bf32054"></a><br/></dl><li><a class="el" href="namespaceirr_1_1core.html#a73fa92e638c5ca97efd72da307cc9b65">core::matrix4</a> &amp; <a class="el" href="structirr_1_1scene_1_1_s_view_frustum.html#acf8edd203e7479d2b444ed548075ffa6">getTransform</a> (<a class="el" href="namespaceirr_1_1video.html#a15b57657a320243be03ae6f66fcff43d">video::E_TRANSFORMATION_STATE</a> state)
<dl class="el"><dd class="mdescRight">get the given state's matrix based on frustum E_TRANSFORMATION_STATE  <a href="#acf8edd203e7479d2b444ed548075ffa6"></a><br/></dl><li>const <a class="el" href="namespaceirr_1_1core.html#a73fa92e638c5ca97efd72da307cc9b65">core::matrix4</a> &amp; <a class="el" href="structirr_1_1scene_1_1_s_view_frustum.html#a8e253fc5e6ea47531033792b22f28945">getTransform</a> (<a class="el" href="namespaceirr_1_1video.html#a15b57657a320243be03ae6f66fcff43d">video::E_TRANSFORMATION_STATE</a> state) const 
<dl class="el"><dd class="mdescRight">get the given state's matrix based on frustum E_TRANSFORMATION_STATE  <a href="#a8e253fc5e6ea47531033792b22f28945"></a><br/></dl><li>void <a class="el" href="structirr_1_1scene_1_1_s_view_frustum.html#a458eb19a23bcad50da0f9d3163e3621b">recalculateBoundingBox</a> ()
<dl class="el"><dd class="mdescRight">recalculates the bounding box member based on the planes  <a href="#a458eb19a23bcad50da0f9d3163e3621b"></a><br/></dl><li>void <a class="el" href="structirr_1_1scene_1_1_s_view_frustum.html#a2517bde9292aa26119d75b9ff0b92833">setFrom</a> (const <a class="el" href="namespaceirr_1_1core.html#a73fa92e638c5ca97efd72da307cc9b65">core::matrix4</a> &amp;mat)
<dl class="el"><dd class="mdescRight">This constructor creates a view frustum based on a projection and/or view matrix.  <a href="#a2517bde9292aa26119d75b9ff0b92833"></a><br/></dl><li>void <a class="el" href="structirr_1_1scene_1_1_s_view_frustum.html#aeabadaf532f08ba3cb98b897ff0619f2">transform</a> (const <a class="el" href="namespaceirr_1_1core.html#a73fa92e638c5ca97efd72da307cc9b65">core::matrix4</a> &amp;mat)
<dl class="el"><dd class="mdescRight">transforms the frustum by the matrix  <a href="#aeabadaf532f08ba3cb98b897ff0619f2"></a><br/></dl></ul>
<h2><a name="pub-attribs"></a>
Public Attributes</h2>
<ul>
<li><a class="el" href="classirr_1_1core_1_1aabbox3d.html">core::aabbox3d</a>&lt; <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> &gt; <a class="el" href="structirr_1_1scene_1_1_s_view_frustum.html#ad4c8605ad3494093e3e5860e0332fe8a">boundingBox</a>
<dl class="el"><dd class="mdescRight">bounding box around the view frustum  <a href="#ad4c8605ad3494093e3e5860e0332fe8a"></a><br/></dl><li><a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> <a class="el" href="structirr_1_1scene_1_1_s_view_frustum.html#a77726fa084f416d69f058a7b2f887545">cameraPosition</a>
<dl class="el"><dd class="mdescRight">the position of the camera  <a href="#a77726fa084f416d69f058a7b2f887545"></a><br/></dl><li><a class="el" href="classirr_1_1core_1_1plane3d.html">core::plane3d</a>&lt; <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> &gt; <a class="el" href="structirr_1_1scene_1_1_s_view_frustum.html#afa59258f22c23b6f1dc4bcaff142dba2">planes</a> [VF_PLANE_COUNT]
<dl class="el"><dd class="mdescRight">all planes enclosing the view frustum.  <a href="#afa59258f22c23b6f1dc4bcaff142dba2"></a><br/></dl></ul>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Defines the view frustum. That's the space visible by the camera. </p>
<p>The view frustum is enclosed by 6 planes. These six planes share eight points. A bounding box around these eight points is also stored in this structure. </p>

<p>Definition at line <a class="el" href="_s_view_frustum_8h_source.html#l00025">25</a> of file <a class="el" href="_s_view_frustum_8h_source.html">SViewFrustum.h</a>.</p>
</div><hr/><h2>Member Enumeration Documentation</h2>
<a class="anchor" id="ae3a96797aec028717f0589e82926b9f0"></a><!-- doxytag: member="irr::scene::SViewFrustum::VFPLANES" ref="ae3a96797aec028717f0589e82926b9f0" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="structirr_1_1scene_1_1_s_view_frustum.html#ae3a96797aec028717f0589e82926b9f0">irr::scene::SViewFrustum::VFPLANES</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" id="ae3a96797aec028717f0589e82926b9f0a33c11636c0cf3a29df16551fb3222f89"></a><!-- doxytag: member="VF_FAR_PLANE" ref="ae3a96797aec028717f0589e82926b9f0a33c11636c0cf3a29df16551fb3222f89" args="" -->VF_FAR_PLANE</em>&nbsp;</td><td>
<p>Far plane of the frustum. That is the plane farest away from the eye. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="ae3a96797aec028717f0589e82926b9f0ad4e37002c2f3f5c9aa7219ca74ffb48e"></a><!-- doxytag: member="VF_NEAR_PLANE" ref="ae3a96797aec028717f0589e82926b9f0ad4e37002c2f3f5c9aa7219ca74ffb48e" args="" -->VF_NEAR_PLANE</em>&nbsp;</td><td>
<p>Near plane of the frustum. That is the plane nearest to the eye. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="ae3a96797aec028717f0589e82926b9f0a4d611f15cd215819287e533b45715d5c"></a><!-- doxytag: member="VF_LEFT_PLANE" ref="ae3a96797aec028717f0589e82926b9f0a4d611f15cd215819287e533b45715d5c" args="" -->VF_LEFT_PLANE</em>&nbsp;</td><td>
<p>Left plane of the frustum. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="ae3a96797aec028717f0589e82926b9f0acc02c8b170e35f1416f1511646b051aa"></a><!-- doxytag: member="VF_RIGHT_PLANE" ref="ae3a96797aec028717f0589e82926b9f0acc02c8b170e35f1416f1511646b051aa" args="" -->VF_RIGHT_PLANE</em>&nbsp;</td><td>
<p>Right plane of the frustum. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="ae3a96797aec028717f0589e82926b9f0aa230be71193da774ddcb735ec7b10dd1"></a><!-- doxytag: member="VF_BOTTOM_PLANE" ref="ae3a96797aec028717f0589e82926b9f0aa230be71193da774ddcb735ec7b10dd1" args="" -->VF_BOTTOM_PLANE</em>&nbsp;</td><td>
<p>Bottom plane of the frustum. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="ae3a96797aec028717f0589e82926b9f0adc6f550cf3890b19837cd8f0d7b1020a"></a><!-- doxytag: member="VF_TOP_PLANE" ref="ae3a96797aec028717f0589e82926b9f0adc6f550cf3890b19837cd8f0d7b1020a" args="" -->VF_TOP_PLANE</em>&nbsp;</td><td>
<p>Top plane of the frustum. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="ae3a96797aec028717f0589e82926b9f0a6c3c4cb8060a23a2365cf1df46fcefd7"></a><!-- doxytag: member="VF_PLANE_COUNT" ref="ae3a96797aec028717f0589e82926b9f0a6c3c4cb8060a23a2365cf1df46fcefd7" args="" -->VF_PLANE_COUNT</em>&nbsp;</td><td>
<p>Amount of planes enclosing the view frustum. Should be 6. </p>
</td></tr>
</table>
</dd>
</dl>

<p>Definition at line <a class="el" href="_s_view_frustum_8h_source.html#l00027">27</a> of file <a class="el" href="_s_view_frustum_8h_source.html">SViewFrustum.h</a>.</p>

</div>
</div>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a7052e88c612bd1239115929e94e6210d"></a><!-- doxytag: member="irr::scene::SViewFrustum::SViewFrustum" ref="a7052e88c612bd1239115929e94e6210d" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">irr::scene::SViewFrustum::SViewFrustum </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Default Constructor. </p>

<p>Definition at line <a class="el" href="_s_view_frustum_8h_source.html#l00048">48</a> of file <a class="el" href="_s_view_frustum_8h_source.html">SViewFrustum.h</a>.</p>

</div>
</div>
<a class="anchor" id="aa7cfed3ee9feee79efe02d26f3b14b0c"></a><!-- doxytag: member="irr::scene::SViewFrustum::SViewFrustum" ref="aa7cfed3ee9feee79efe02d26f3b14b0c" args="(const SViewFrustum &amp;other)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">irr::scene::SViewFrustum::SViewFrustum </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structirr_1_1scene_1_1_s_view_frustum.html">SViewFrustum</a> &amp;&#160;</td>
          <td class="paramname"><em>other</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Copy Constructor. </p>
<p>Copy constructor ViewFrustum </p>

<p>Definition at line <a class="el" href="_s_view_frustum_8h_source.html#l00129">129</a> of file <a class="el" href="_s_view_frustum_8h_source.html">SViewFrustum.h</a>.</p>

<p>References <a class="el" href="_s_view_frustum_8h_source.html#l00110">boundingBox</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00104">cameraPosition</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00107">planes</a>, and <a class="el" href="_s_view_frustum_8h_source.html#l00043">VF_PLANE_COUNT</a>.</p>

</div>
</div>
<a class="anchor" id="acfcbb01f1e26f73ee1d9c7695302a508"></a><!-- doxytag: member="irr::scene::SViewFrustum::SViewFrustum" ref="acfcbb01f1e26f73ee1d9c7695302a508" args="(const core::matrix4 &amp;mat)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">irr::scene::SViewFrustum::SViewFrustum </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="namespaceirr_1_1core.html#a73fa92e638c5ca97efd72da307cc9b65">core::matrix4</a> &amp;&#160;</td>
          <td class="paramname"><em>mat</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This constructor creates a view frustum based on a projection and/or view matrix. </p>

<p>Definition at line <a class="el" href="_s_view_frustum_8h_source.html#l00142">142</a> of file <a class="el" href="_s_view_frustum_8h_source.html">SViewFrustum.h</a>.</p>

<p>References <a class="el" href="_s_view_frustum_8h_source.html#l00255">setFrom()</a>.</p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="ace0b4c93dcd1d4e6ae50615b457f1851"></a><!-- doxytag: member="irr::scene::SViewFrustum::clipLine" ref="ace0b4c93dcd1d4e6ae50615b457f1851" args="(core::line3d&lt; f32 &gt; &amp;line) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool irr::scene::SViewFrustum::clipLine </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classirr_1_1core_1_1line3d.html">core::line3d</a>&lt; <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>line</em></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>clips a line to the view frustum. </p>
<p>Clips a line to the frustum.</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>True if the line was clipped, false if not </dd></dl>

<p>Definition at line <a class="el" href="_s_view_frustum_8h_source.html#l00344">344</a> of file <a class="el" href="_s_view_frustum_8h_source.html">SViewFrustum.h</a>.</p>

<p>References <a class="el" href="line3d_8h_source.html#l00132">irr::core::line3d&lt; T &gt;::end</a>, <a class="el" href="plane3d_8h_source.html#l00107">irr::core::plane3d&lt; T &gt;::getKnownIntersectionWithLine()</a>, <a class="el" href="plane3d_8h_source.html#l00019">irr::core::ISREL3D_FRONT</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00107">planes</a>, <a class="el" href="line3d_8h_source.html#l00130">irr::core::line3d&lt; T &gt;::start</a>, and <a class="el" href="_s_view_frustum_8h_source.html#l00043">VF_PLANE_COUNT</a>.</p>

</div>
</div>
<a class="anchor" id="a4328fe06bedd409ae20e9efc64e68706"></a><!-- doxytag: member="irr::scene::SViewFrustum::getBoundingBox" ref="a4328fe06bedd409ae20e9efc64e68706" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classirr_1_1core_1_1aabbox3d.html">core::aabbox3d</a>&lt; <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> &gt; &amp; irr::scene::SViewFrustum::getBoundingBox </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>returns a bounding box enclosing the whole view frustum </p>

<p>Definition at line <a class="el" href="_s_view_frustum_8h_source.html#l00238">238</a> of file <a class="el" href="_s_view_frustum_8h_source.html">SViewFrustum.h</a>.</p>

<p>References <a class="el" href="_s_view_frustum_8h_source.html#l00110">boundingBox</a>.</p>

</div>
</div>
<a class="anchor" id="a9a79eb4430af41031850adc7a0e0e3cf"></a><!-- doxytag: member="irr::scene::SViewFrustum::getFarLeftDown" ref="a9a79eb4430af41031850adc7a0e0e3cf" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> irr::scene::SViewFrustum::getFarLeftDown </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>returns the point which is on the far left bottom corner inside the the view frustum. </p>

<p>Definition at line <a class="el" href="_s_view_frustum_8h_source.html#l00168">168</a> of file <a class="el" href="_s_view_frustum_8h_source.html">SViewFrustum.h</a>.</p>

<p>References <a class="el" href="plane3d_8h_source.html#l00195">irr::core::plane3d&lt; T &gt;::getIntersectionWithPlanes()</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00107">planes</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00038">VF_BOTTOM_PLANE</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00030">VF_FAR_PLANE</a>, and <a class="el" href="_s_view_frustum_8h_source.html#l00034">VF_LEFT_PLANE</a>.</p>

<p>Referenced by <a class="el" href="_s_view_frustum_8h_source.html#l00243">recalculateBoundingBox()</a>.</p>

</div>
</div>
<a class="anchor" id="a99712510130276f440e2c399dde7e5f3"></a><!-- doxytag: member="irr::scene::SViewFrustum::getFarLeftUp" ref="a99712510130276f440e2c399dde7e5f3" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> irr::scene::SViewFrustum::getFarLeftUp </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>returns the point which is on the far left upper corner inside the the view frustum. </p>

<p>Definition at line <a class="el" href="_s_view_frustum_8h_source.html#l00158">158</a> of file <a class="el" href="_s_view_frustum_8h_source.html">SViewFrustum.h</a>.</p>

<p>References <a class="el" href="plane3d_8h_source.html#l00195">irr::core::plane3d&lt; T &gt;::getIntersectionWithPlanes()</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00107">planes</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00030">VF_FAR_PLANE</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00034">VF_LEFT_PLANE</a>, and <a class="el" href="_s_view_frustum_8h_source.html#l00040">VF_TOP_PLANE</a>.</p>

<p>Referenced by <a class="el" href="_s_view_frustum_8h_source.html#l00243">recalculateBoundingBox()</a>.</p>

</div>
</div>
<a class="anchor" id="add04c29bfa22d94be96c92ecff5420b9"></a><!-- doxytag: member="irr::scene::SViewFrustum::getFarRightDown" ref="add04c29bfa22d94be96c92ecff5420b9" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> irr::scene::SViewFrustum::getFarRightDown </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>returns the point which is on the far right bottom corner inside the the view frustum. </p>

<p>Definition at line <a class="el" href="_s_view_frustum_8h_source.html#l00188">188</a> of file <a class="el" href="_s_view_frustum_8h_source.html">SViewFrustum.h</a>.</p>

<p>References <a class="el" href="plane3d_8h_source.html#l00195">irr::core::plane3d&lt; T &gt;::getIntersectionWithPlanes()</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00107">planes</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00038">VF_BOTTOM_PLANE</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00030">VF_FAR_PLANE</a>, and <a class="el" href="_s_view_frustum_8h_source.html#l00036">VF_RIGHT_PLANE</a>.</p>

<p>Referenced by <a class="el" href="_s_view_frustum_8h_source.html#l00243">recalculateBoundingBox()</a>.</p>

</div>
</div>
<a class="anchor" id="a1b7f3b1cd4da4ea886b77d674e1c17dd"></a><!-- doxytag: member="irr::scene::SViewFrustum::getFarRightUp" ref="a1b7f3b1cd4da4ea886b77d674e1c17dd" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> irr::scene::SViewFrustum::getFarRightUp </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>returns the point which is on the far right top corner inside the the view frustum. </p>

<p>Definition at line <a class="el" href="_s_view_frustum_8h_source.html#l00178">178</a> of file <a class="el" href="_s_view_frustum_8h_source.html">SViewFrustum.h</a>.</p>

<p>References <a class="el" href="plane3d_8h_source.html#l00195">irr::core::plane3d&lt; T &gt;::getIntersectionWithPlanes()</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00107">planes</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00030">VF_FAR_PLANE</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00036">VF_RIGHT_PLANE</a>, and <a class="el" href="_s_view_frustum_8h_source.html#l00040">VF_TOP_PLANE</a>.</p>

<p>Referenced by <a class="el" href="_s_view_frustum_8h_source.html#l00243">recalculateBoundingBox()</a>.</p>

</div>
</div>
<a class="anchor" id="addbe9237ea17c93ae60bc4c27e862a76"></a><!-- doxytag: member="irr::scene::SViewFrustum::getNearLeftDown" ref="addbe9237ea17c93ae60bc4c27e862a76" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> irr::scene::SViewFrustum::getNearLeftDown </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>returns the point which is on the near left bottom corner inside the the view frustum. </p>

<p>Definition at line <a class="el" href="_s_view_frustum_8h_source.html#l00208">208</a> of file <a class="el" href="_s_view_frustum_8h_source.html">SViewFrustum.h</a>.</p>

<p>References <a class="el" href="plane3d_8h_source.html#l00195">irr::core::plane3d&lt; T &gt;::getIntersectionWithPlanes()</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00107">planes</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00038">VF_BOTTOM_PLANE</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00034">VF_LEFT_PLANE</a>, and <a class="el" href="_s_view_frustum_8h_source.html#l00032">VF_NEAR_PLANE</a>.</p>

</div>
</div>
<a class="anchor" id="af240a13958215ce0cbe6ccd75301828a"></a><!-- doxytag: member="irr::scene::SViewFrustum::getNearLeftUp" ref="af240a13958215ce0cbe6ccd75301828a" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> irr::scene::SViewFrustum::getNearLeftUp </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>returns the point which is on the near left upper corner inside the the view frustum. </p>

<p>Definition at line <a class="el" href="_s_view_frustum_8h_source.html#l00198">198</a> of file <a class="el" href="_s_view_frustum_8h_source.html">SViewFrustum.h</a>.</p>

<p>References <a class="el" href="plane3d_8h_source.html#l00195">irr::core::plane3d&lt; T &gt;::getIntersectionWithPlanes()</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00107">planes</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00034">VF_LEFT_PLANE</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00032">VF_NEAR_PLANE</a>, and <a class="el" href="_s_view_frustum_8h_source.html#l00040">VF_TOP_PLANE</a>.</p>

</div>
</div>
<a class="anchor" id="a74e011d85fb41206b5dd0af76635dc00"></a><!-- doxytag: member="irr::scene::SViewFrustum::getNearRightDown" ref="a74e011d85fb41206b5dd0af76635dc00" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> irr::scene::SViewFrustum::getNearRightDown </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>returns the point which is on the near right bottom corner inside the the view frustum. </p>

<p>Definition at line <a class="el" href="_s_view_frustum_8h_source.html#l00228">228</a> of file <a class="el" href="_s_view_frustum_8h_source.html">SViewFrustum.h</a>.</p>

<p>References <a class="el" href="plane3d_8h_source.html#l00195">irr::core::plane3d&lt; T &gt;::getIntersectionWithPlanes()</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00107">planes</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00038">VF_BOTTOM_PLANE</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00032">VF_NEAR_PLANE</a>, and <a class="el" href="_s_view_frustum_8h_source.html#l00036">VF_RIGHT_PLANE</a>.</p>

</div>
</div>
<a class="anchor" id="a4fe9e7b51a3f7f7235ef0f895bf32054"></a><!-- doxytag: member="irr::scene::SViewFrustum::getNearRightUp" ref="a4fe9e7b51a3f7f7235ef0f895bf32054" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> irr::scene::SViewFrustum::getNearRightUp </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>returns the point which is on the near right top corner inside the the view frustum. </p>

<p>Definition at line <a class="el" href="_s_view_frustum_8h_source.html#l00218">218</a> of file <a class="el" href="_s_view_frustum_8h_source.html">SViewFrustum.h</a>.</p>

<p>References <a class="el" href="plane3d_8h_source.html#l00195">irr::core::plane3d&lt; T &gt;::getIntersectionWithPlanes()</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00107">planes</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00032">VF_NEAR_PLANE</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00036">VF_RIGHT_PLANE</a>, and <a class="el" href="_s_view_frustum_8h_source.html#l00040">VF_TOP_PLANE</a>.</p>

</div>
</div>
<a class="anchor" id="acf8edd203e7479d2b444ed548075ffa6"></a><!-- doxytag: member="irr::scene::SViewFrustum::getTransform" ref="acf8edd203e7479d2b444ed548075ffa6" args="(video::E_TRANSFORMATION_STATE state)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespaceirr_1_1core.html#a73fa92e638c5ca97efd72da307cc9b65">core::matrix4</a> &amp; irr::scene::SViewFrustum::getTransform </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceirr_1_1video.html#a15b57657a320243be03ae6f66fcff43d">video::E_TRANSFORMATION_STATE</a>&#160;</td>
          <td class="paramname"><em>state</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>get the given state's matrix based on frustum E_TRANSFORMATION_STATE </p>
<p>View Frustum depends on Projection &amp; View Matrix </p>

<p>Definition at line <a class="el" href="_s_view_frustum_8h_source.html#l00310">310</a> of file <a class="el" href="_s_view_frustum_8h_source.html">SViewFrustum.h</a>.</p>

<p>References <a class="el" href="_i_video_driver_8h_source.html#l00059">irr::video::ETS_PROJECTION</a>, and <a class="el" href="_i_video_driver_8h_source.html#l00055">irr::video::ETS_VIEW</a>.</p>

</div>
</div>
<a class="anchor" id="a8e253fc5e6ea47531033792b22f28945"></a><!-- doxytag: member="irr::scene::SViewFrustum::getTransform" ref="a8e253fc5e6ea47531033792b22f28945" args="(video::E_TRANSFORMATION_STATE state) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="namespaceirr_1_1core.html#a73fa92e638c5ca97efd72da307cc9b65">core::matrix4</a> &amp; irr::scene::SViewFrustum::getTransform </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceirr_1_1video.html#a15b57657a320243be03ae6f66fcff43d">video::E_TRANSFORMATION_STATE</a>&#160;</td>
          <td class="paramname"><em>state</em></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>get the given state's matrix based on frustum E_TRANSFORMATION_STATE </p>
<p>View Frustum depends on Projection &amp; View Matrix </p>

<p>Definition at line <a class="el" href="_s_view_frustum_8h_source.html#l00328">328</a> of file <a class="el" href="_s_view_frustum_8h_source.html">SViewFrustum.h</a>.</p>

<p>References <a class="el" href="_i_video_driver_8h_source.html#l00059">irr::video::ETS_PROJECTION</a>, and <a class="el" href="_i_video_driver_8h_source.html#l00055">irr::video::ETS_VIEW</a>.</p>

</div>
</div>
<a class="anchor" id="a458eb19a23bcad50da0f9d3163e3621b"></a><!-- doxytag: member="irr::scene::SViewFrustum::recalculateBoundingBox" ref="a458eb19a23bcad50da0f9d3163e3621b" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void irr::scene::SViewFrustum::recalculateBoundingBox </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>recalculates the bounding box member based on the planes </p>

<p>Definition at line <a class="el" href="_s_view_frustum_8h_source.html#l00243">243</a> of file <a class="el" href="_s_view_frustum_8h_source.html">SViewFrustum.h</a>.</p>

<p>References <a class="el" href="aabbox3d_8h_source.html#l00074">irr::core::aabbox3d&lt; T &gt;::addInternalPoint()</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00110">boundingBox</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00104">cameraPosition</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00168">getFarLeftDown()</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00158">getFarLeftUp()</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00188">getFarRightDown()</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00178">getFarRightUp()</a>, and <a class="el" href="aabbox3d_8h_source.html#l00050">irr::core::aabbox3d&lt; T &gt;::reset()</a>.</p>

<p>Referenced by <a class="el" href="_s_view_frustum_8h_source.html#l00255">setFrom()</a>, and <a class="el" href="_s_view_frustum_8h_source.html#l00148">transform()</a>.</p>

</div>
</div>
<a class="anchor" id="a2517bde9292aa26119d75b9ff0b92833"></a><!-- doxytag: member="irr::scene::SViewFrustum::setFrom" ref="a2517bde9292aa26119d75b9ff0b92833" args="(const core::matrix4 &amp;mat)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void irr::scene::SViewFrustum::setFrom </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="namespaceirr_1_1core.html#a73fa92e638c5ca97efd72da307cc9b65">core::matrix4</a> &amp;&#160;</td>
          <td class="paramname"><em>mat</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This constructor creates a view frustum based on a projection and/or view matrix. </p>

<p>Definition at line <a class="el" href="_s_view_frustum_8h_source.html#l00255">255</a> of file <a class="el" href="_s_view_frustum_8h_source.html">SViewFrustum.h</a>.</p>

<p>References <a class="el" href="plane3d_8h_source.html#l00231">irr::core::plane3d&lt; T &gt;::D</a>, <a class="el" href="plane3d_8h_source.html#l00228">irr::core::plane3d&lt; T &gt;::Normal</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00107">planes</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00243">recalculateBoundingBox()</a>, <a class="el" href="irr_math_8h_source.html#l00497">irr::core::reciprocal_squareroot()</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00038">VF_BOTTOM_PLANE</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00030">VF_FAR_PLANE</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00034">VF_LEFT_PLANE</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00032">VF_NEAR_PLANE</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00043">VF_PLANE_COUNT</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00036">VF_RIGHT_PLANE</a>, and <a class="el" href="_s_view_frustum_8h_source.html#l00040">VF_TOP_PLANE</a>.</p>

<p>Referenced by <a class="el" href="_s_view_frustum_8h_source.html#l00142">SViewFrustum()</a>.</p>

</div>
</div>
<a class="anchor" id="aeabadaf532f08ba3cb98b897ff0619f2"></a><!-- doxytag: member="irr::scene::SViewFrustum::transform" ref="aeabadaf532f08ba3cb98b897ff0619f2" args="(const core::matrix4 &amp;mat)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void irr::scene::SViewFrustum::transform </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="namespaceirr_1_1core.html#a73fa92e638c5ca97efd72da307cc9b65">core::matrix4</a> &amp;&#160;</td>
          <td class="paramname"><em>mat</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>transforms the frustum by the matrix </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">mat,:</td><td>Matrix by which the view frustum is transformed. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_s_view_frustum_8h_source.html#l00148">148</a> of file <a class="el" href="_s_view_frustum_8h_source.html">SViewFrustum.h</a>.</p>

<p>References <a class="el" href="_s_view_frustum_8h_source.html#l00104">cameraPosition</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00107">planes</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00243">recalculateBoundingBox()</a>, <a class="el" href="matrix4_8h_source.html#l01179">irr::core::CMatrix4&lt; T &gt;::transformPlane()</a>, <a class="el" href="matrix4_8h_source.html#l01137">irr::core::CMatrix4&lt; T &gt;::transformVect()</a>, and <a class="el" href="_s_view_frustum_8h_source.html#l00043">VF_PLANE_COUNT</a>.</p>

</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="ad4c8605ad3494093e3e5860e0332fe8a"></a><!-- doxytag: member="irr::scene::SViewFrustum::boundingBox" ref="ad4c8605ad3494093e3e5860e0332fe8a" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classirr_1_1core_1_1aabbox3d.html">core::aabbox3d</a>&lt;<a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a>&gt; <a class="el" href="structirr_1_1scene_1_1_s_view_frustum.html#ad4c8605ad3494093e3e5860e0332fe8a">irr::scene::SViewFrustum::boundingBox</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>bounding box around the view frustum </p>

<p>Definition at line <a class="el" href="_s_view_frustum_8h_source.html#l00110">110</a> of file <a class="el" href="_s_view_frustum_8h_source.html">SViewFrustum.h</a>.</p>

<p>Referenced by <a class="el" href="_s_view_frustum_8h_source.html#l00238">getBoundingBox()</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00243">recalculateBoundingBox()</a>, and <a class="el" href="_s_view_frustum_8h_source.html#l00129">SViewFrustum()</a>.</p>

</div>
</div>
<a class="anchor" id="a77726fa084f416d69f058a7b2f887545"></a><!-- doxytag: member="irr::scene::SViewFrustum::cameraPosition" ref="a77726fa084f416d69f058a7b2f887545" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> <a class="el" href="structirr_1_1scene_1_1_s_view_frustum.html#a77726fa084f416d69f058a7b2f887545">irr::scene::SViewFrustum::cameraPosition</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>the position of the camera </p>

<p>Definition at line <a class="el" href="_s_view_frustum_8h_source.html#l00104">104</a> of file <a class="el" href="_s_view_frustum_8h_source.html">SViewFrustum.h</a>.</p>

<p>Referenced by <a class="el" href="_s_view_frustum_8h_source.html#l00243">recalculateBoundingBox()</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00129">SViewFrustum()</a>, and <a class="el" href="_s_view_frustum_8h_source.html#l00148">transform()</a>.</p>

</div>
</div>
<a class="anchor" id="afa59258f22c23b6f1dc4bcaff142dba2"></a><!-- doxytag: member="irr::scene::SViewFrustum::planes" ref="afa59258f22c23b6f1dc4bcaff142dba2" args="[VF_PLANE_COUNT]" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classirr_1_1core_1_1plane3d.html">core::plane3d</a>&lt;<a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a>&gt; <a class="el" href="structirr_1_1scene_1_1_s_view_frustum.html#afa59258f22c23b6f1dc4bcaff142dba2">irr::scene::SViewFrustum::planes</a>[VF_PLANE_COUNT]</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>all planes enclosing the view frustum. </p>

<p>Definition at line <a class="el" href="_s_view_frustum_8h_source.html#l00107">107</a> of file <a class="el" href="_s_view_frustum_8h_source.html">SViewFrustum.h</a>.</p>

<p>Referenced by <a class="el" href="_s_view_frustum_8h_source.html#l00344">clipLine()</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00168">getFarLeftDown()</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00158">getFarLeftUp()</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00188">getFarRightDown()</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00178">getFarRightUp()</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00208">getNearLeftDown()</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00198">getNearLeftUp()</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00228">getNearRightDown()</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00218">getNearRightUp()</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00255">setFrom()</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00129">SViewFrustum()</a>, and <a class="el" href="_s_view_frustum_8h_source.html#l00148">transform()</a>.</p>

</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="_s_view_frustum_8h_source.html">SViewFrustum.h</a></li>
</ul>
</div>
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="namespaceirr.html">irr</a>      </li>
      <li class="navelem"><a class="el" href="namespaceirr_1_1scene.html">scene</a>      </li>
      <li class="navelem"><a class="el" href="structirr_1_1scene_1_1_s_view_frustum.html">SViewFrustum</a>      </li>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>


    <li class="footer">
<a href="http://irrlicht.sourceforge.net" target="_blank">Irrlicht 
Engine</a> Documentation &copy; 2003-2012 by Nikolaus Gebhardt. Generated on Sat Jul 9 2016 18:18:43 for Irrlicht 3D Engine by
<a href="http://www.doxygen.org/index.html" target="_blank">Doxygen</a> 1.7.5.1 </li>
   </ul>
 </div>


</body>
</html>
